compress/flate.huffmanEncoder.codes (field)
17 uses
compress/flate (current package)
huffman_bit_writer.go#L212: cgnl[i] = uint8(litEnc.codes[i].len)
huffman_bit_writer.go#L217: cgnl[i] = uint8(offEnc.codes[i].len)
huffman_bit_writer.go#L373: value := uint(w.codegenEncoding.codes[codegenOrder[i]].len)
huffman_bit_writer.go#L384: w.writeCode(w.codegenEncoding.codes[uint32(codeWord)])
huffman_bit_writer.go#L492: w.writeTokens(tokens, literalEncoding.codes, offsetEncoding.codes)
huffman_bit_writer.go#L525: w.writeTokens(tokens, w.literalEncoding.codes, w.offsetEncoding.codes)
huffman_bit_writer.go#L658: encoding := w.literalEncoding.codes[:257]
huffman_code.go#L19: codes []hcode
huffman_code.go#L60: return &huffmanEncoder{codes: make([]hcode, size)}
huffman_code.go#L66: codes := h.codes
huffman_code.go#L96: codes := h.codes
huffman_code.go#L110: total += int(f) * int(h.codes[i].len)
huffman_code.go#L261: h.codes[node.literal] = hcode{code: reverseBits(code, uint8(n)), len: uint16(n)}
huffman_code.go#L288: h.codes[i].len = 0
huffman_code.go#L298: h.codes[node.literal].set(uint16(i), 1)
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |